import { http } from './http'
import { PageQueryParams, PageResponse } from '@/config/page'

export interface FlowDefLikeParams {
  entId: number;

  name?: string;

  type?: string;
}

/**
 * 模糊查询流程定义列表。
 * @returns
 */
export function likeFlowDefs (params: FlowDefLikeParams) {
  return http().post<any>('/api/document/flow-defs/like', params)
}
